package org.applet.game.framework.util;

public class GraphicsUtil {

	public static final int getAlpha(int pixel)
	{
		return pixel >> 24 & 0xff;
	}
	
	public static int getARGB(int r, int g, int b, int alpha) {
		return (alpha << 24) | (r << 16) | (g << 8) | b;
	}
}
